package me.xhy.java.springboot3.r2dbc.s05one2one.s051entity;

import java.util.List;

public class S0514AuthorRelBook {

  private Long id;
  private String name;

  private List<S0512Book> bookList;

  @Override
  public String toString() {
    return "S0514Author{" +
        "id=" + id +
        ", name='" + name + '\'' +
        ", bookList=" + bookList +
        '}';
  }

  public Long getId() {
    return id;
  }

  public void setId(Long id) {
    this.id = id;
  }

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public List<S0512Book> getBookList() {
    return bookList;
  }

  public void setBookList(List<S0512Book> bookList) {
    this.bookList = bookList;
  }
}
